package com.cs.contract.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;


/**
 * @Author：zrx
 * @Package：com.cs.domain
 * @Project：RuoYi-Cloud
 * @name：CsDocuments
 * @Date：2024/11/27 16:54
 * @Filename：CsDocuments
 */
public class CsDocuments extends BaseEntity {
    private static final long serialVersionUID = -1868098923609454428L;
    @Excel(name = "文件ID")
    private Integer wid;
    @Excel(name = "招标项目ID")
    private Integer sid;
    @Excel(name = "文件标题")
    private String wTitle;
    @Excel(name = "文件大小")
    private Integer wSize;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date wUploadTime;
    @Excel(name = "文件名")
    private String filename;
    @Excel(name = "上传路径")
    private String url;
    private CsNotice csNotice;

    public Integer getWid() {
        return wid;
    }

    public void setWid(Integer wid) {
        this.wid = wid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getwTitle() {
        return wTitle;
    }

    public void setwTitle(String wTitle) {
        this.wTitle = wTitle;
    }

    public Integer getwSize() {
        return wSize;
    }

    public void setwSize(Integer wSize) {
        this.wSize = wSize;
    }

    public Date getwUploadTime() {
        return wUploadTime;
    }

    public void setwUploadTime(Date wUploadTime) {
        this.wUploadTime = wUploadTime;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public CsNotice getCsNotice() {
        return csNotice;
    }

    public void setCsNotice(CsNotice csNotice) {
        this.csNotice = csNotice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("wid", wid)
                .append("sid", sid)
                .append("wTitle", wTitle)
                .append("wSize", wSize)
                .append("wUploadTime", wUploadTime)
                .append("filename", filename)
                .append("url", url)
                .append("csNotice", csNotice)
                .toString();
    }
}
